package com.bxait.toymail.seckill.feign;

import com.bxait.com.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/*
@description: 商品服务
@ClassName ProductFeignService
@author Chen
@create 2023-04-30 10:40
@Version 1.0
*/
@FeignClient("toymail-product")
public interface ProductFeignService {

    // 获取商品的详情信息
    @RequestMapping("/product/skuInfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
